package com.yunduo.entity.vo;

import lombok.Data;
import lombok.Getter;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;

/**
 * 用户登录参数
 */
@Data
public class LoginUser {
    @NotNull(message = "用户名不能为空")
    String name;
    @NotNull(message = "密码不能为空")
    String password;
    @NotNull(message = "参数错误")
    boolean isRemember;
}
